﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="spawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="spuc" TagName="LinksTable" Src="/_controltemplates/LinksTable.ascx" %>
<%@ Register TagPrefix="spuc" TagName="InputFormSection" Src="/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="spuc" TagName="InputFormControl" Src="/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="spuc" TagName="LinkSection" Src="/_controltemplates/LinkSection.ascx" %>
<%@ Register TagPrefix="spuc" TagName="ButtonSection" Src="/_controltemplates/ButtonSection.ascx" %>
<%@ Register TagPrefix="spuc" TagName="ActionBar" Src="/_controltemplates/ActionBar.ascx" %>
<%@ Register TagPrefix="spuc" TagName="ToolBar" Src="/_controltemplates/ToolBar.ascx" %>
<%@ Register TagPrefix="spuc" TagName="ToolBarButton" Src="/_controltemplates/ToolBarButton.ascx" %>
<%@ Register TagPrefix="spuc" TagName="Welcome" Src="/_controltemplates/Welcome.ascx" %>
<%@ Register TagPrefix="spuc" TagName="TopNavBar" src="~/_controltemplates/TopNavBar.ascx" %>
<%@ Register TagPrefix="Taxonomy" Namespace="Microsoft.SharePoint.Taxonomy" Assembly="Microsoft.SharePoint.Taxonomy, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="oswc" Namespace="Microsoft.Office.Server.WebControls" Assembly="Microsoft.Office.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BlogApiSettings.aspx.cs" Inherits="VH.SharePoint.Api.Pages.BlogApiSettings" DynamicMasterPageFile="~masterurl/default.master" %>
<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
	<SharePoint:EncodedLiteral ID="EncodedLiteral1" runat="server" text="<%$Resources:VH.SharePoint.Api.Blog,Title_Settings_Page %>" EncodeMethod="HtmlEncode"/>
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderPageImage" runat="server"><img src="/_layouts/images/blank.gif" width='1' height='1' alt="" /></asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderPageTitleInTitleArea" runat="server">
    <SharePoint:ClusteredDirectionalSeparatorArrow runat="server" />
    <a href="..\settings.aspx"><SharePoint:EncodedLiteral runat="server" text="<%$Resources:wss,settings_pagetitle%>" EncodeMethod="HtmlEncode"/></a>&#32;
    <SharePoint:ClusteredDirectionalSeparatorArrow runat="server" />
	<SharePoint:EncodedLiteral runat="server" text="<%$Resources:VH.SharePoint.Api.Blog,Title_Settings_Page %>" EncodeMethod='HtmlEncode'/>
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderTitleAreaClass" runat="server">
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderSiteName" runat="server" >

    <SharePoint:SPLinkButton runat="server" NavigateUrl="~site/" id="onetidProjectPropertyTitle">
		<SharePoint:ProjectProperty ID="ProjectProperty1" Property="Title" runat="server" />
    </SharePoint:SPLinkButton>

</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderId="PlaceHolderAdditionalPageHead" runat="server">
	<meta name="CollaborationServer" content="SharePoint Team Web Site" />
<style type="text/css">
.s4-nothome {
	display:none;
}
</style>
	<script type="text/javascript">
// <![CDATA[
	    var navBarHelpOverrideKey = "WSSEndUser";
// ]]>
	</script>
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderSearchArea" runat="server">
	<SharePoint:DelegateControl ID="DelegateControl1" runat="server"
		ControlId="SmallSearchInputBox" />
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderLeftActions" runat="server">
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderPageDescription" runat="server"/>
<asp:Content ContentPlaceHolderId="PlaceHolderBodyAreaClass" runat="server">
<style type="text/css">
.ms-bodyareaframe {
	padding: 0px;
}
</style>
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">
	<table class="propertysheet" border="0" cellspacing="0" cellpadding="0" width="100%">
	    <spuc:inputformsection runat="server" title="<%$Resources:VH.SharePoint.Api.Blog,Title_Settings_EnableApi %>" description="<%$Resources:VH.SharePoint.Api.Blog,Description_Settings_EnableApi %>"
        id="ifsApiEnabled">
            <template_inputformcontrols>
                <spuc:InputFormControl runat="server">
		            <Template_Control>
                        <SharePoint:DVRadioButtonList runat="server" ID="rlEnabled" AutoPostBack="True" OnSelectedIndexChanged="rlEnabled_OnSelectedIndexChanged" >
                            <asp:ListItem Text="<%$Resources:VH.SharePoint.Api.Blog,Title_Settings_Enabled %>" Value="True"/>
                            <asp:ListItem Text="<%$Resources:VH.SharePoint.Api.Blog,Title_Settings_Disabled %>" Value="False"/>
                        </SharePoint:DVRadioButtonList>
		            </Template_Control>
		        </spuc:InputFormControl>
            </template_inputformcontrols>
        </spuc:inputformsection>
        <spuc:inputformsection runat="server" title="<%$Resources:VH.SharePoint.Api.Blog,Title_Settings_AllowScripts %>" description="<%$Resources:VH.SharePoint.Api.Blog,Description_Settings_AllowScripts %>"
        id="ifsSriptsEnabled">
            <template_inputformcontrols>
                <spuc:InputFormControl runat="server">
		            <Template_Control>
                        <SharePoint:DVRadioButtonList runat="server" ID="rlAllowScripts" >
                            <asp:ListItem Text="<%$Resources:VH.SharePoint.Api.Blog,Title_Settings_Allowed %>" Value="True"/>
                            <asp:ListItem Text="<%$Resources:VH.SharePoint.Api.Blog,Title_Settings_Denied %>" Value="False"/>
                        </SharePoint:DVRadioButtonList>
		            </Template_Control>
		        </spuc:InputFormControl>
            </template_inputformcontrols>
        </spuc:inputformsection>
	    <spuc:inputformsection runat="server" title="<%$Resources:VH.SharePoint.Api.Blog,Title_Settings_PagesLibrary %>" description="<%$Resources:VH.SharePoint.Api.Blog,Description_Settings_PagesLibrary %>"
        id="ifsPageLibrary">
            <template_inputformcontrols>
                <spuc:InputFormControl runat="server" LabelText="<%$Resources:VH.SharePoint.Api.Blog,Title_Settings_SelectPageLibrary %>">
		            <Template_Control>
                        <SharePoint:DVListBox runat="server" ID="lstPageLibraries" SelectionMode="Single" DataTextField="Title" DataValueField="ID" Width="400px" Rows="5" />
                        <SharePoint:InputFormRequiredFieldValidator runat="server" ControlToValidate="lstPageLibraries" ID="vLstPageLibraries"></SharePoint:InputFormRequiredFieldValidator>
		            </Template_Control>
		        </spuc:InputFormControl>
            </template_inputformcontrols>
        </spuc:inputformsection>
        <spuc:inputformsection runat="server" title="<%$Resources:VH.SharePoint.Api.Blog,Title_Settings_MediasLibrary %>" description="<%$Resources:VH.SharePoint.Api.Blog,Description_Settings_MediasLibrary %>"
        id="ifsMediasLibrary">
            <template_inputformcontrols>
                <spuc:InputFormControl runat="server" LabelText="<%$Resources:VH.SharePoint.Api.Blog,Title_Settings_SelectMediaLibrary %>">
		            <Template_Control>
                        <SharePoint:DVListBox runat="server" ID="lstMediaLibraries" SelectionMode="Single" DataTextField="Title" DataValueField="ID" Width="400px" Rows="5" />
                        <SharePoint:InputFormRequiredFieldValidator runat="server" ControlToValidate="lstMediaLibraries" ID="vLstMediaLibraries"></SharePoint:InputFormRequiredFieldValidator>
		            </Template_Control>
		        </spuc:InputFormControl>
                <spuc:InputFormControl runat="server" LabelText="<%$Resources:VH.SharePoint.Api.Blog,Title_Settings_MediaLibraryFolder %>">
		            <Template_Control>
                        <SharePoint:InputFormTextBox runat="server" ID="txtDefaultSubFolder" TextMode="SingleLine" RichText="false" Width="400px" ></SharePoint:InputFormTextBox>   
                        <SharePoint:InputFormRequiredFieldValidator runat="server" ControlToValidate="txtDefaultSubFolder" ID="vTxtDefaultSubFolder"></SharePoint:InputFormRequiredFieldValidator>
		            </Template_Control>
		        </spuc:InputFormControl>
            </template_inputformcontrols>
        </spuc:inputformsection>
	    <spuc:Buttonsection runat="server" showstandardcancelbutton="true">
            <template_buttons>
			    <asp:Button runat="server" id="okButton" class="ms-ButtonHeightWidth" OnClick="okButton_OnClick" Text="<%$Resources:wss,multipages_okbutton_text%>"  accesskey="<%$Resources:wss,okbutton_accesskey%>"/>
		    </template_buttons>
        </spuc:Buttonsection>
	</table>
    <SharePoint:FormDigest ID="FormDigest1" runat="server" />
</asp:Content>